home *** CD-ROM | disk | FTP | other *** search
/ The Programmer Disk / The Programmer Disk (Microforum).iso / xpro / bc / pro16 / gravity.doc < prev    next >
Text File  |  1992-12-25  |  4KB  |  98 lines

  1.                         GRAVITY WARS 1.20
  2.                              12/25/92
  3.                     PC version by Will Beals
  4.                  Original Concept Author unknown
  5.  
  6. INTRODUCTION
  7. ============
  8.  
  9. Welcome to the game GRAVITY WARS!  This the PC version of a game 
  10. some friends and I had hours of fun playing on an Apollo Worksta
  11. tion quite some time ago.  This is a FREEWARE program including 
  12. source code.  Source code is included for your modifications and 
  13. perusal.  It is also released for your comment.  After 10 years 
  14. of being a Pascal programmer this is my first non-trivial C 
  15. program. If you do have any comments about the game in general or 
  16. how it was coded (speed issues, standards, etc) I would appreci
  17. ate a note.  I can be most easily reached on Compuserve at 
  18. 71213,275.  
  19.  
  20. HOW TO PLAY
  21. ===========
  22.  
  23. THE MORE PEOPLE PLAYING, THE BETTER!
  24.  
  25. The basic intent of the game (as in many games) is to kill your 
  26. opponent(s) before they kill you.  Anywhere from two to seven 
  27. players can play.  The playing screen consists of the players and 
  28. a bunch of planets.  Each player gets to specify the initial 
  29. direction and speed of their projectile.  After being launched, 
  30. the trajectory of the projectile is influenced by the gravita
  31. tional pull of all the planets on the screen.  The gravitational 
  32. pull of the planet on each trajectory is determined by three 
  33. factors, the planet density, planet size, and proximity to the 
  34. projectile.  The planet color tells you the density.  From least 
  35. dense to most dense the colors are red, green, blue, and white.  
  36. Clearly, larger planets weigh more and basic physics determines 
  37. the pull based on distance (1/R^2).  To make the game reasonably 
  38. challenging there is only one rule of etiquette.  If there exists 
  39. a line-of-sight between you an opponent you are not allowed to 
  40. use it, you must go around at least one planet.  
  41.  
  42. The actual field of play extends around the perimeter of your 
  43. screen by one screen width.  There are no planets in the outlying 
  44. areas.  Should your projectile leave this larger area, it is 
  45. considered lost.  There is no penalty for hitting a planet, I 
  46. guess no-one is living on any of them.
  47.  
  48. NEW WITH VERSION 1.10
  49. =====================
  50.  
  51. We now support seven versus four players.
  52.  
  53. For each ships turn at entering data, a compass now surrounds the
  54. ship.
  55.  
  56. A new feature adds another level of strategy to the game.  If any
  57. planet is hit three times, it blows up!  When it does, it no longer
  58. can be hit again (it's not there), but more importantly, it no 
  59. longer has any gravitational pull.  This effect is immediate on
  60. blowing up, affecting all remaining projectiles for the rest of 
  61. the turn.
  62.  
  63.  
  64. NEW WITH VERSION 1.20
  65. =====================
  66.  
  67. It takes four hits to blow up a planet now, this seems much better.
  68.  
  69. Both planets and players re-appear in a new, random place after three
  70. turns.  This effectively makes multi-player games last forever!
  71.  
  72. With games now lasting forever, players can be dynamically added or
  73. deleted during the course of a game.
  74.  
  75. By special request, I have added black & white support.  To activate 
  76. this, add BW to the command line ( c>gravity bw ).  Red, green, and
  77. blue planets will have the letters L,M,H added to the center of the
  78. planet (Low, Medium, and High density).  White (very high density)
  79. planets are unmarked.  This isn't great black & white support, but
  80. is at least something until I can do a better job.
  81.  
  82. Someone pointed out my Compuserve mail address didn't exist, it was
  83. my temporary one (what did I know, I was a brand new user!)  My 
  84. permanent one is now listed.
  85.  
  86. FUN THINGS TO PLAY WITH
  87. =======================
  88.  
  89. Some standard things you may want to play with in this program 
  90. are:
  91.  
  92. 1) Alter the planets densities and/or sizes.
  93. 2) Add some black holes.
  94. 3) Have ships able to move (may make game impossible).
  95. 4) Incorporate some kind of scoring mechinism
  96. 5) I'm sure you have plenty of your own ideas, if they make the
  97.    game more fun, please let me know.
  98.